Using the
data elementThis section explains how to use the
<data> element in DITA source documents. The data element allows insertion of arbitrary marker style data similar to the <othermeta> element. Unlike the <othermeta> element, the <data> element can be used throughout a topic, just like a marker.Using the
data element to insert markersThe
<data> element represents a property within a DITA topic or map. You can use the <data> element to insert a marker type anywhere on your page. Here is an example of the <data> element: <data name ="TOCIcon" value = "red.png"/>. In this example, our marker name is TOCIcon, and is using the value of red.png. For more information on the
<data> element see https://docs.oasis-open.org/dita/v1.2/os/spec/langref/data.htmlLast modified date: 01/28/2026